<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/8/6
  Time: 17:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
    <title>列表页</title>
</head>
<body>
    <a href="add.jsp">添加</a>
    <table border="1px" cellpadding="0" cellspacing="0">
        <tr>
            <th>编号</th>
            <th>名字</th>
            <th>操作</th>
        </tr>
        <s:iterator value="list">
            <tr>
                <td><s:property value="userId"></s:property></td>
                <td><s:property value="userName"></s:property></td>
                <td>
                    <a href="#">修改</a>
                    <a href="#">删除</a>
                </td>
            </tr>
        </s:iterator>

    </table>
</body>
</html>
